package com.xiyu.service.convert.files;

import com.xiyu.service.vo.files.housingAgreement.HousingAgreementSingleGetOutput;
import com.xiyu.service.vo.files.housingAgreement.HousingAgreementUpdateInput;
import com.xiyu.service.vo.files.housingAgreement.HousingAgreementCreateInput;
import com.xiyu.service.vo.files.housingAgreement.HousingAgreementPageQueryOutput;
import com.xiyu.service.model.files.agreement.FilesHousingAgreement;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用房协议 Convert
 */
@Mapper
public interface HousingAgreementConvert {
    HousingAgreementConvert INSTANCE = Mappers.getMapper(HousingAgreementConvert.class);


    List<HousingAgreementPageQueryOutput> pageQueryOutputConvert(List<FilesHousingAgreement> output);

    FilesHousingAgreement createInputConvert(HousingAgreementCreateInput input);

    FilesHousingAgreement updateInputConvert(HousingAgreementUpdateInput input);

    HousingAgreementSingleGetOutput singleGetOutputConvert(FilesHousingAgreement output);

}
